home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / langs / icon8_fx.zoo / diffs / h.dif < prev    next >
Encoding:
Text File  |  1991-02-18  |  3.0 KB  |  129 lines

  1. *** old\config.h
  2. --- config.h
  3. **************
  4. *** 258,259
  5.   #else                    /* MVS || VM */
  6.   #define Usage "[-cstu] [-e efile] [-o ofile] [-Sxnnnn]"
  7. --- 258,262 -----
  8.   #else                    /* MVS || VM */
  9. + #if ATARI_ST
  10. + #define Usage "[-cstu] [-e efile] [-p path] [-o ofile] [-Sxnnnn]"
  11. + #else                    /* ATARI_ST */
  12.   #define Usage "[-cstu] [-e efile] [-o ofile] [-Sxnnnn]"
  13. **************
  14. *** 259,260
  15.   #define Usage "[-cstu] [-e efile] [-o ofile] [-Sxnnnn]"
  16.   #endif                    /* MVS || VM */
  17. --- 262,264 -----
  18.   #define Usage "[-cstu] [-e efile] [-o ofile] [-Sxnnnn]"
  19. + #endif                    /* ATARI_ST */
  20.   #endif                    /* MVS || VM */
  21. *** old\define.h
  22. --- define.h
  23. **************
  24. *** 1
  25.   #define HostStr "Atari ST (GEMDOS) Lattice C 3.04.02"
  26. --- 1,7 -----
  27. + #ifdef __GNUC__
  28. + #define HostStr "Atari ST (TOS) gcc 1.37 - 32 bits"
  29. + #define Standard
  30. + #define AllocType size_t
  31. + #define Precision 14
  32. + #else
  33.   #define HostStr "Atari ST (GEMDOS) Lattice C 3.04.02"
  34. **************
  35. *** 3,6
  36.   #define rindex strrchr
  37. - #define IcodeSuffix ".icx"
  38. - #define IcodeASuffix ".ICX"
  39.   #define NoLargeInts
  40. --- 9,10 -----
  41.   #define rindex strrchr
  42.   #define NoLargeInts
  43. **************
  44. *** 7,8
  45.   #define unlink remove
  46.   #define ZeroDivide
  47. --- 11,15 -----
  48.   #define unlink remove
  49. + #endif
  50. + #define IcodeSuffix ".icx"
  51. + #define IcodeASuffix ".ICX"
  52.   #define ZeroDivide
  53. *** old\paths.h
  54. --- paths.h
  55. **************
  56. *** 1
  57. ! #define IconxPath "iconx.prg
  58. --- 1,2 -----
  59. ! /* #define IconxPath "iconx.prg */
  60. ! #define IconxPath "iconx.ttp"
  61. *** old\proto.h
  62. --- proto.h
  63. **************
  64. *** 12,14
  65.   
  66. ! #if AMIGA
  67.   #if LATTICE
  68. --- 12,14 -----
  69.   
  70. ! #if AMIGA || ATARI_ST
  71.   #if LATTICE
  72. **************
  73. *** 14,15
  74.   #if LATTICE
  75.   #include <dos.h>
  76. --- 14,16 -----
  77.   #if LATTICE
  78. + #ifndef __GNUC__
  79.   #include <dos.h>
  80. **************
  81. *** 15,16
  82.   #include <dos.h>
  83.   #endif                    /* LATTICE */
  84. --- 16,18 -----
  85.   #include <dos.h>
  86. + #endif
  87.   #endif                    /* LATTICE */
  88. **************
  89. *** 21,23
  90.   long    atol        Params((char *));
  91. - pointer    calloc        Params((unsigned,unsigned));
  92.   int    execv        Params((char *, char **));
  93. --- 23,24 -----
  94.   long    atol        Params((char *));
  95.   int    execv        Params((char *, char **));
  96. **************
  97. *** 28,29
  98.   pointer    malloc        Params((msize));
  99.   pointer    realloc        Params((pointer, unsigned));
  100. --- 29,34 -----
  101.   pointer    malloc        Params((msize));
  102. + #ifdef __GNUC__
  103. + pointer    realloc        Params((pointer, msize));
  104. + pointer    calloc        Params((msize, msize));
  105. + #else
  106.   pointer    realloc        Params((pointer, unsigned));
  107. **************
  108. *** 29,30
  109.   pointer    realloc        Params((pointer, unsigned));
  110.   char    *strchr        Params((char *s, int i));
  111. --- 34,40 -----
  112.   pointer    realloc        Params((pointer, unsigned));
  113. + pointer    calloc        Params((unsigned,unsigned));
  114. + #endif
  115. + #ifdef __GNUC__
  116. + #include <string.h>
  117. + #else
  118.   char    *strchr        Params((char *s, int i));
  119. **************
  120. *** 35,37
  121.   char    *strncpy    Params((char *s1, char *s2, int n));
  122. ! #endif                    /* ATARI_ST */
  123.   
  124. --- 45,48 -----
  125.   char    *strncpy    Params((char *s1, char *s2, int n));
  126. ! #endif
  127. ! #endif                    /* AMIGA || ATARI_ST */
  128.   
  129.